package com.ibm.db2oncampus.portal.usuario.domain;

import java.util.List;
import java.util.Set;

import com.ibm.db2oncampus.portal.framework.domain.DomainObject;
import com.ibm.db2oncampus.portal.seguranca.domain.Functionality;
import com.ibm.db2oncampus.portal.seguranca.domain.Module;

public class Role implements DomainObject {

	private Long id;
	private String name;
	private String description;
	private Boolean anonymous;
	private Set<Functionality> functionalities;
	private Set<Module> modules;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getDescription() {
		return description;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}
	
	public Boolean getAnonymous() {
		return anonymous;
	}
	
	public void setAnonymous(Boolean anonymous) {
		this.anonymous = anonymous;
	}

	public Set<Functionality> getFunctionalities() {
		return functionalities;
	}

	public void setFunctionalities(Set<Functionality> functionalities) {
		this.functionalities = functionalities;
	}

	public Set<Module> getModules() {
		return modules;
	}

	public void setModules(Set<Module> modules) {
		this.modules = modules;
	}
}